<!doctype html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="format-detection" content="telephone=no, email=no, address=no">
    <title>{$info[0]['info']['title']}</title>
    <meta name="keywords" content="{$info[0]['info']['key']}">
    <meta name="description" content="{$info[0]['info']['des']}">
    {css href="__INDEXCSS__/layui.css"}
    {css href="__INDEXCSS__/style.css"}
    {js href="__INDEXJS__/device.min.js"}
    {js href="__INDEXJS__/jquery.min.js"}
    {js href="__INDEXJS__/layui.js"}
    {js href="__INDEXJS__/main.js"}
</head>
<body>
<div class="pf_r">
    {volist name="adv" id="obj"}
    {volist name="obj.adv" id="vo"}
    {if $vo.position == '浮动' and $vo.is_img == '是'}
    <a target="_blank" href="{$vo.url}"  ref="{$vo.url}" title="{$vo.text}" rel="nofollow"><img src="{$vo.img}"border="0"></a>
    {/if}
    {/volist}
    {/volist}



</div>
<div class="header-area">
    <div class="header-main">
        <div class="b-logo" >
            <a href="/" > <img src="{$info[0]['info']['logo']}" > </a>
        </div>
        <div class="m-nav">
            <ul class="menu-list">
                {volist name="adv" id="obj"}
                {volist name="obj.adv" id="vo"}
                    {if $vo.position == '导航条文字' and $vo.is_img == '否'}
                     <li class="menuitem"> <a href="{$vo.url}" target="_blank"  ref="{$vo.url}" title="{$vo.text}" rel="nofollow">{$vo.text|raw}</a> <span class="midline"></span> </li>
                    {/if}
                {/volist}
                {/volist}
            </ul>
        </div>
    </div>
</div>
<div class="ppchat-main-div">
    <div class="layui-carousel" id="ads">
            {volist name="adv" id="obj"}
             {volist name="obj.adv" id="vo"}
            {if $vo.position == '顶部图片' and $vo.is_img == '是'}
            <div>
                <a target="_blank" href="{$vo.url}"  ref="{$vo.url}" title="{$vo.text}" rel="nofollow"><img src="{$vo.img}"  style="height: 100%;width: 100%;" border="0"></a>
            </div>
            {/if}
            {/volist}
            {/volist}
    </div>
    <div class="ppchat-nav">
        <ul class="layui-nav layui-bg-bs" lay-filter="">
            {volist name="cat" id="item"} }
                <li class="layui-nav-item "><a href="{:url('/index').'?cat_id='.$item.id}"><img src="{$item.img}" class="layui-nav-img">{$item.name}</a></li>
            {/volist}
            {volist name="adv" id="obj"}
            {volist name="obj.adv" id="vo"}
            {if $vo.position == '开奖栏文字'}
                <li class="layui-nav-item "><a href="{$vo.url}"  ref="{$vo.url}" title="{$vo.text}" rel="nofollow"><img src="{$vo.img}" class="layui-nav-img">{$vo.text|raw}</a></li>
            {/if}
            {/volist}
            {/volist}
        </ul>
    </div>
    <div class="ppchat-kj">
        <div class="page-lottery" id="og1k3">
            <div class="img">
              <a><img src="{$cat[0]['img']}" alt="{$cat[0]['name']}"> </a>
            </div>
            <div class="txt">
                <div class="clearfix">
                    <p class="fl">{$cat2['name']}第<span class="current">{$kjdata[0]['expect']}</span>期开奖号码</p>
                    <p class="fr">
                </div>
                {if $cat_id == 6 or $cat_id == 8}
                <div class="cai-num hk6-num">
                    <span class="n{$kjdata[0]['opencode'][0]}"> {$kjdata[0]['opencode'][0]}</span>
                    <span class="n{$kjdata[0]['opencode'][1]}"> {$kjdata[0]['opencode'][1]}</span>
                    <span class="n{$kjdata[0]['opencode'][2]}"> {$kjdata[0]['opencode'][2]}</span>
                    <span class="n{$kjdata[0]['opencode'][3]}"> {$kjdata[0]['opencode'][3]}</span>
                    <span class="n{$kjdata[0]['opencode'][4]}"> {$kjdata[0]['opencode'][4]}</span>
                    <span class="n{$kjdata[0]['opencode'][5]}"> {$kjdata[0]['opencode'][5]}</span>
                    <span class="n{$kjdata[0]['opencode'][6]}"> {$kjdata[0]['opencode'][6]}</span>
                </div>
                {/if}
                {if $cat_id == 9}
                <div class="cai-num jspk10-num">
                    <span class="n{$kjdata[0]['opencode'][0]}"> {$kjdata[0]['opencode'][0]}</span>
                    <span class="n{$kjdata[0]['opencode'][1]}"> {$kjdata[0]['opencode'][1]}</span>
                    <span class="n{$kjdata[0]['opencode'][2]}"> {$kjdata[0]['opencode'][2]}</span>
                    <span class="n{$kjdata[0]['opencode'][3]}"> {$kjdata[0]['opencode'][3]}</span>
                    <span class="n{$kjdata[0]['opencode'][4]}"> {$kjdata[0]['opencode'][4]}</span>
                    <span class="n{$kjdata[0]['opencode'][5]}"> {$kjdata[0]['opencode'][5]}</span>
                    <span class="n{$kjdata[0]['opencode'][6]}"> {$kjdata[0]['opencode'][6]}</span>
                    <span class="n{$kjdata[0]['opencode'][7]}"> {$kjdata[0]['opencode'][7]}</span>
                    <span class="n{$kjdata[0]['opencode'][8]}"> {$kjdata[0]['opencode'][8]}</span>
                    <span class="n{$kjdata[0]['opencode'][9]}"> {$kjdata[0]['opencode'][9]}</span>
                </div>
                {/if}
                {if $cat_id == 10}
                <div class="cai-num og1k3-num">
                    <span class="n{$kjdata[0]['opencode'][0]}"> {$kjdata[0]['opencode'][0]}</span>
                    <span class="n{$kjdata[0]['opencode'][1]}"> {$kjdata[0]['opencode'][1]}</span>
                    <span class="n{$kjdata[0]['opencode'][2]}"> {$kjdata[0]['opencode'][2]}</span>
                </div>
                {/if}
                {if $cat_id == 11}
                <div class="cai-num bj28-num">
                    <span class="n{$kjdata[0]['opencode'][0]}"> {$kjdata[0]['opencode'][0]}</span>
                    <span class="n{$kjdata[0]['opencode'][1]}"> {$kjdata[0]['opencode'][1]}</span>
                    <span class="n{$kjdata[0]['opencode'][2]}"> {$kjdata[0]['opencode'][2]}</span>
                </div>
                {/if}
            </div>
            <div class="clearfix fr">
                <p class="fl">距<span class="next">下</span>期<br><em>开奖时间还剩</em></p>
                <div class="djs fr" id="djs">
                </div>
            </div>
        </div>
        <div class="notice">
            <marquee scrollamount="3" class="marquee1">
                {volist name="adv" id="obj"}
                {volist name="obj.adv" id="vo"}
                {if $vo.position == '滚动文字' and $vo.is_img == '否'}
                {$vo.text|raw}
                {/if}
                {/volist}
                {/volist}
            </marquee>
        </div>
    </div>
    <div class="ppchat-plans-opens">
        <div class="layui-row ">
            <div class="layui-col-sm6">
                <div class="layui-form">
                    <table class="layui-table" id="ppchat-opens">
                        <thead>
                        <tr>
                            <th>期号</th>
                            <th>开奖号码</th>
                        </tr>
                        </thead>
                        <tbody>
                        {volist name="kjdata" id="obj"}
                        <tr class="tr">
                            <td class="time">
                                {$obj.expect}
                            </td>
                            {if $cat_id == 6 or $cat_id == 8}
                            <td class="td-num td-hk6">
                                <div class="cai-num  hk6-num">
                                    <span class="n{$obj.opencode[0]}"> {$obj.opencode[0]}</span>
                                    <span class="n{$obj.opencode[1]}"> {$obj.opencode[1]}</span>
                                    <span class="n{$obj.opencode[2]}"> {$obj.opencode[2]}</span>
                                    <span class="n{$obj.opencode[3]}"> {$obj.opencode[3]}</span>
                                    <span class="n{$obj.opencode[4]}"> {$obj.opencode[4]}</span>
                                    <span class="n{$obj.opencode[5]}"> {$obj.opencode[5]}</span>
                                    <span class="n{$obj.opencode[6]}"> {$obj.opencode[6]}</span>
                                </div>
                            </td>
                            {/if}
                            {if $cat_id == 9}
                            <td class="td-num td-jspk10">
                                <div class="cai-num  jspk10-num">
                                    <span class="n{$obj.opencode[0]}"> {$obj.opencode[0]}</span>
                                    <span class="n{$obj.opencode[1]}"> {$obj.opencode[1]}</span>
                                    <span class="n{$obj.opencode[2]}"> {$obj.opencode[2]}</span>
                                    <span class="n{$obj.opencode[3]}"> {$obj.opencode[3]}</span>
                                    <span class="n{$obj.opencode[4]}"> {$obj.opencode[4]}</span>
                                    <span class="n{$obj.opencode[5]}"> {$obj.opencode[5]}</span>
                                    <span class="n{$obj.opencode[6]}"> {$obj.opencode[6]}</span>
                                    <span class="n{$obj.opencode[4]}"> {$obj.opencode[7]}</span>
                                    <span class="n{$obj.opencode[5]}"> {$obj.opencode[8]}</span>
                                    <span class="n{$obj.opencode[6]}"> {$obj.opencode[9]}</span>
                                </div>
                            </td>
                            {/if}
                            {if $cat_id == 10}
                            <td class="td-num td-og1k3">
                                <div class="cai-num  og1k3-num">
                                    <span class="n{$obj.opencode[0]}"> {$obj.opencode[0]}</span>
                                    <span class="n{$obj.opencode[1]}"> {$obj.opencode[1]}</span>
                                    <span class="n{$obj.opencode[2]}"> {$obj.opencode[2]}</span>
                                </div>
                            </td>
                            {/if}
                            {if $cat_id == 11}
                            <td class="td-num td-bj28">
                                <div class="cai-num  bj28-num">
                                    <span class="n{$obj.opencode[0]}"> {$obj.opencode[0]}</span>
                                    <span class="n{$obj.opencode[1]}"> {$obj.opencode[1]}</span>
                                    <span class="n{$obj.opencode[2]}"> {$obj.opencode[2]}</span>
                                </div>
                            </td>
                            {/if}
                        </tr>
                        {/volist}
                        </tbody>
                    </table>
                </div>
            </div>
            {if $cat_id == 6 or $cat_id == 8}
            <div class="layui-col-sm6">
                <div class="layui-tab layui-tab-card" id="ppchat-plans">
                    <ul class="layui-tab-title">
                        <li class="layui-this" data-did="0">平特1肖3期</li>
                        <li class="" data-did="1">特码大小3期</li>
                        <li class="" data-did="2">特码单双3期</li>
                        <li class="" data-did="3">特码24码3期</li>
                    </ul>
                    <div class="layui-tab-content" >
                        <div class="layui-tab-item layui-show" id="show-did-0">

                                {volist name="ycdata[0]" id="obj"}
                                {$obj.start_issue}-{$obj.end_issue}期 平特1肖3期【{$obj.forecast_content}】
                            <span style='{$obj.iswin[1]}'>{$obj.iswin[0]}</span>
                                <br>
                                {/volist}
                        </div>
                        <div class="layui-tab-item" id="show-did-1">
                            {volist name="ycdata[1]" id="obj"}
                            {$obj.start_issue}-{$obj.end_issue}期 特码大小3期【{$obj.forecast_content}】
                            <span style='{$obj.iswin[1]}'>{$obj.iswin[0]}</span>
                            <br>
                            {/volist}
                        </div>
                        <div class="layui-tab-item" id="show-did-2">
                            {volist name="ycdata[2]" id="obj"}
                            {$obj.start_issue}-{$obj.end_issue}期 特码单双3期【{$obj.forecast_content}】
                            <span style='{$obj.iswin[1]}'>{$obj.iswin[0]}</span>
                            <br>
                            {/volist}
                        </div>
                        <div class="layui-tab-item" id="show-did-3" style="word-wrap: break-word; word-break: break-all;overflow: hidden;">
                            {volist name="ycdata[3]" id="obj"}
                            {$obj.start_issue}-{$obj.end_issue}期 特码24码3期【{$obj.forecast_content}】
                            <span style='{$obj.iswin[1]}'>{$obj.iswin[0]}</span>
                            <br>
                            {/volist}
                        </div>
                    </div>
                </div>
            </div>
            {/if}
            {if $cat_id == 9}
            <div class="layui-col-sm6">
                <div class="layui-tab layui-tab-card" id="ppchat-plans">
                    <ul class="layui-tab-title">
                        <li class="layui-this" data-did="0">冠军5码</li>
                        <li class="" data-did="1">亚军5码</li>
                    </ul>
                    <div class="layui-tab-content" >
                        <div class="layui-tab-item layui-show" id="show-did-0" style="word-wrap: break-word; word-break: break-all;overflow: hidden;">

                            {volist name="ycdata[0]" id="obj"}
                            {$obj.start_issue}-{$obj.end_issue}期 冠军5码【{$obj.forecast_content}】
                            <span style='{$obj.iswin[1]}'>{$obj.iswin[0]}</span>
                            <br>
                            {/volist}
                        </div>
                        <div class="layui-tab-item" id="show-did-1" style="word-wrap: break-word; word-break: break-all;overflow: hidden;">
                            {volist name="ycdata[1]" id="obj"}
                            {$obj.start_issue}-{$obj.end_issue}期 亚军5码【{$obj.forecast_content}】
                            <span style='{$obj.iswin[1]}'>{$obj.iswin[0]}</span>
                            <br>
                            {/volist}
                        </div>
                    </div>
                </div>
            </div>
            {/if}

            {if $cat_id == 10}
            <div class="layui-col-sm6">
                <div class="layui-tab layui-tab-card" id="ppchat-plans">
                    <ul class="layui-tab-title">
                        <li class="layui-this" data-did="0">和值大小</li>
                        <li class="" data-did="1">和值单双</li>
                        <li class="" data-did="2">和值7码</li>
                    </ul>
                    <div class="layui-tab-content" >
                        <div class="layui-tab-item layui-show" id="show-did-0" style="word-wrap: break-word; word-break: break-all;overflow: hidden;">

                            {volist name="ycdata[0]" id="obj"}
                            {$obj.start_issue}-{$obj.end_issue}期 和值大小【{$obj.forecast_content}】
                            <span style='{$obj.iswin[1]}'>{$obj.iswin[0]}</span>
                            <br>
                            {/volist}
                        </div>
                        <div class="layui-tab-item" id="show-did-1" style="word-wrap: break-word; word-break: break-all;overflow: hidden;">
                            {volist name="ycdata[1]" id="obj"}
                            {$obj.start_issue}-{$obj.end_issue}期 和值单双【{$obj.forecast_content}】
                            <span style='{$obj.iswin[1]}'>{$obj.iswin[0]}</span>
                            <br>
                            {/volist}
                        </div>
                        <div class="layui-tab-item" id="show-did-2" style="word-wrap: break-word; word-break: break-all;overflow: hidden;">
                            {volist name="ycdata[2]" id="obj"}
                            {$obj.start_issue}-{$obj.end_issue}期 和值7码【{$obj.forecast_content}】
                            <span style='{$obj.iswin[1]}'>{$obj.iswin[0]}</span>
                            <br>
                            {/volist}
                        </div>
                    </div>
                </div>
            </div>
            {/if}
            {if $cat_id == 11}
            <div class="layui-col-sm6">
                <div class="layui-tab layui-tab-card" id="ppchat-plans">
                    <ul class="layui-tab-title">
                        <li class="layui-this" data-did="0">和值大小</li>
                        <li class="" data-did="1">和值单双</li>
                        <li class="" data-did="2">和值14码</li>
                    </ul>
                    <div class="layui-tab-content" >
                        <div class="layui-tab-item layui-show" id="show-did-0" style="word-wrap: break-word; word-break: break-all;overflow: hidden;">

                            {volist name="ycdata[0]" id="obj"}
                            {$obj.start_issue}-{$obj.end_issue}期 和值大小【{$obj.forecast_content}】
                            <span style='{$obj.iswin[1]}'>{$obj.iswin[0]}</span>
                            <br>
                            {/volist}
                        </div>
                        <div class="layui-tab-item" id="show-did-1" style="word-wrap: break-word; word-break: break-all;overflow: hidden;">
                            {volist name="ycdata[1]" id="obj"}
                            {$obj.start_issue}-{$obj.end_issue}期 和值单双【{$obj.forecast_content}】
                            <span style='{$obj.iswin[1]}'>{$obj.iswin[0]}</span>
                            <br>
                            {/volist}
                        </div>
                        <div class="layui-tab-item" id="show-did-2" style="word-wrap: break-word; word-break: break-all;overflow: hidden;">
                            {volist name="ycdata[2]" id="obj"}
                            {$obj.start_issue}-{$obj.end_issue}期 和值14码【{$obj.forecast_content}】
                            <span style='{$obj.iswin[1]}'>{$obj.iswin[0]}</span>
                            <br>
                            {/volist}
                        </div>
                    </div>
                </div>
            </div>
            {/if}
        </div>
    </div>
</div>
<div class="footer">
    <div class="copyright">
        {volist name="adv" id="obj"}
        {volist name="obj.adv" id="vo"}
        {if $vo.position == '底部文字' and $vo.is_img == '否'}
        {$vo.text|raw}
        {/if}
        {/volist}
        {/volist}
    </div>
</div>
</div>

<script>
    var app = {};
    app.plan = 'o3';
    app.did = '0';
    var ttt =  {$downtime};
    setInterval(function (){
        ttt = ttt-1
        $("#djs").html(format_time(ttt, "开奖中"));
    },1000)

    function format_time(t, e) {
        var a =parseFloat(t)
            , n = 0
            , s = 0
            , d = 0
            , r = "<em>分</em>"
            , i = "</span>";
        return null != a && "" != a && (a < 60 ? (d = a,
            a = "<span>00</span>" + r + "<span>" + (d > 9 ? d : "0" + d) + i + "<em>秒</em>") : a >= 60 && a < 3600 ? (s = parseInt(a / 60),
            d = parseInt(a % 60),
            a = "<span>" + (s > 9 ? s : "0" + s) + i + r + "<span>" + (d > 9 ? d : "0" + d) + i + "<em>秒</em>") : a >= 3600 && (n = parseInt(a / 3600),
            s = parseInt(a % 3600 / 60),
            d = parseInt(a % 3600 % 60 % 60),
            a = "<span>" + (n > 9 ? n : "0" + n) + i + "<em>时</em><span>" + (s > 9 ? s : "0" + s) + i + r)),
            0 == s && e ? e : a
    }
</script>
<script >
</script>
</body>
</html>